#pragma once
#include <ECS/ECS.h>

class GameObject;

struct TriggerDef
{

};

class Trigger : public ECS::Component
{
	mtMETA_DEC;
public:
	bool initWith(TriggerDef* def);

	Signal<void(Trigger*, GameObject*)> eventObjectEntered;
	Signal<void(Trigger*, GameObject*)> eventObjectLeaved;
};